package com.itheima.service;

import com.itheima.dto.PhoneCodeDto;
import com.itheima.vo.LoginVO;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 王同学
 */
@Transactional(rollbackFor = RuntimeException.class)
public interface UserService {
    boolean sendMsg(String phone);

    LoginVO login(PhoneCodeDto phone);
}
